<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Document</title>
        <script src="./js/jQuery.min.js"></script>
        <link rel="stylesheet" href="./bootstrap/css/bootstrap.min.css" />
        <script src="./bootstrap/js/bootstrap.min.js"></script>
        <!-- <link rel="stylesheet" href="./js/viewer.min.css" />
        <script src="./js/viewer.min.js"></script> -->
        <style>
            .testA {
                background-color: red;
            }
        </style>
    </head>
    <body>
        <!-- <h1>我的备忘录</h1> -->
        <nav class="navbar navbar-expand-lg navbar-light bg-light">
            <div class="container">
                <a class="navbar-brand" href="#">导航！</a>
                <button
                    class="navbar-toggler d-lg-none"
                    type="button"
                    data-bs-toggle="collapse"
                    data-bs-target="#collapsibleNavId"
                    aria-controls="collapsibleNavId"
                    aria-expanded="false"
                    aria-label="Toggle navigation"
                >
                    <span class="navbar-toggler-icon"></span>
                </button>
                <div class="collapse navbar-collapse" id="collapsibleNavId">
                    <ul class="navbar-nav me-auto mt-2 mt-lg-0">
                        <li class="nav-item">
                            <a
                                class="nav-link"
                                href="./index.html"
                                aria-current="page"
                                >Home</a
                            >
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="./GPA_v1.html">GPA</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="./notes.html">Note</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link" href="./todoList.html">Todo</a>
                        </li>
                        <li class="nav-item">
                            <a class="nav-link active" href="javascript:;"
                                >Test</a
                            >
                        </li>
                        <!-- <li class="nav-item dropdown">
                            <a
                                class="nav-link dropdown-toggle"
                                href="#"
                                id="dropdownId"
                                data-bs-toggle="dropdown"
                                aria-haspopup="true"
                                aria-expanded="false"
                                >Dropdown</a
                            >
                            <div
                                class="dropdown-menu"
                                aria-labelledby="dropdownId"
                            >
                                <a class="dropdown-item" href="#"
                                    >Action 1</a
                                >
                                <a class="dropdown-item" href="#"
                                    >Action 2</a
                                >
                            </div>
                        </li> -->
                    </ul>
                    <form class="d-flex my-2 my-lg-0">
                        <input
                            class="form-control me-sm-2"
                            type="text"
                            placeholder="Search"
                        />
                        <button
                            class="btn btn-outline-success my-2 my-sm-0"
                            type="submit"
                        >
                            Search
                        </button>
                    </form>
                </div>
            </div>
        </nav>

        <div class="container mt-5">
            <form action="http://127.0.0.1:3000/form" method="post">
                名字：<input type="text" name="name" /><br />
                性别：<input type="text" name="sex" /><br />
                <input type="submit" value="提交" />
            </form>
            <button>click</button>
        </div>
        <div class="test">lalala</div>
        <script>
            $("button").click(() => {
                // $.ajax({
                //     url: "./data.json",
                //     type: "GET",
                //     dataType: "json",
                //     success: function (data) {
                //         displayData(data);
                //     },
                // });
                $(".test").toggleClass("testA",1000)
            });
        </script>
    </body>
</html>
